home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <stdlib.h>
- #include <conio.h>
- #include "bmall.h"
- #include "4dx.h"
- #include "proto.h"
- #include "support.h"
-
- void main(void)
- {
- // Change into graphics mode
- int ouractor = 0;
-
- _setvideomode(_MRES256COLOR);
-
- // Load the bitmaps
- LoadBitmaps("meta.bin");
- LoadFlats ("flats.asc");
-
- // Initialize Renderer, Palette, tables, and map data.
- Init4DX();
- AssignPalette();
- BuildTables(320,200);
-
- // Load actors, sectors, vertexes, and line data from a save file.
- LoadGame("Game.0");
-
- // display the view until a key is pressed
- while(!kbhit())
- {
- BuildViewBySector(ouractor,0);
- }
-
- return;
- }
-